home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Extra 1997 #1 / Amiga Plus Extra 1997 #1.iso / programme / daten / gcbnotiz / install_gcbnotiz < prev    next >
Text File  |  1985-03-25  |  20KB  |  759 lines

  1. ;-------------------------------------------------------------------
  2. ; $VER: Install-GCB-Produkte V2.00 Dienstag 24.01.95
  3. ;       Gabriele Christine Bauer
  4. ;       St.-Augustinus-Str 74
  5. ;       81825 München
  6. ;       Deutschland
  7. ;-------------------------------------------------------------------
  8. ; Globalvariablen
  9. ;-------------------------------------------------------------------
  10. (set produkt (cat "GCBNotiz"))
  11. (set version (cat "V4.00"))
  12. (delopts AskUser)
  13. (set @language "deutsch")
  14. (set false 0)
  15. (set true 1)
  16. ;-------------------------------------------------------------------
  17. ; Begrüßung
  18. ;-------------------------------------------------------------------
  19. (set gruss (cat "Willkommen bei der Installation von "produkt" "version))
  20. (welcome gruss)
  21. ;-------------------------------------------------------------------
  22. ; Copyright
  23. ;-------------------------------------------------------------------
  24. (set copyright
  25.   (cat "\n\n"
  26.        produkt"-Installationsskript."
  27.        "\n"
  28.        "Diese Installationsroutine installiert "produkt" auf Ihrem Amiga."
  29.        "\n(Ab Betriebssystem Version 2.04 lauffähig)"
  30.        "\n"
  31.        "Lesen Sie bitte die Dokumentation für "
  32.        "weitere Informationen über die Weitergeabe. "
  33.        "\n\n"
  34.        produkt" "version" © 1995 Gabriele Christine Bauer "
  35.        "\n"
  36.        "Alle Rechte vorbehalten."
  37.   )
  38. )
  39. (message copyright)
  40. (complete 10)
  41. ;-------------------------------------------------------------------
  42. ; Abfrage auf vorhandene Installation
  43. ;-------------------------------------------------------------------
  44. (set gcbvorhanden false)
  45. (set produktvorhanden false)
  46. (if (= (exists "S:GCBProdukt.exists") true)
  47.   (
  48.     (set gcbvorhanden true)
  49.     (If (= (exists (cat "GCBProdukte:"produkt)) true)
  50.       (
  51.         (set produktvorhanden true)
  52.       )
  53.     )
  54.     (If ( and (= produktvorhanden false) (= (exists (cat "SYS:WBStartup/"produkt)) true))
  55.       (
  56.         (set produktvorhanden true)
  57.       )
  58.     )
  59.   )
  60. )
  61. (complete 20)
  62. ;-------------------------------------------------------------------
  63. ; Abfrage auf Installationsart
  64. ;-------------------------------------------------------------------
  65. (set frage
  66.   (cat "Bitte wählen Sie eine der unten stehenden Möglichkeiten aus:"
  67.   )
  68. )
  69. (if (= produktvorhanden false)
  70.   (
  71.     (set inst
  72.       (cat "Installation von "produkt" "version
  73.       )
  74.     )
  75.   )
  76. )
  77. (if (= produktvorhanden true)
  78.   (
  79.     (set inst
  80.       (cat "Update auf "produkt" "version
  81.       )
  82.     )
  83.   )
  84. )
  85. (set remo
  86.   (cat produkt" von Festplatte entfernen"
  87.   )
  88. )
  89. (set vers
  90.   (cat "Systeminformationen abrufen"
  91.   )
  92. )
  93. (set wahl
  94.   (askchoice
  95.     (prompt frage)
  96.     (choices inst remo vers)
  97.     (help @askchoise-help)
  98.   )
  99. )
  100. (complete 30)
  101. ;-------------------------------------------------------------------
  102. ; Abfrage auf Remove
  103. ;-------------------------------------------------------------------
  104. (set abbruch
  105.   (cat "\n\n"
  106.        "Sie können "produkt" nicht von der Festplatte entfernen, "
  107.        "da Sie es noch nicht installiert haben."
  108.   )
  109. )
  110. (if (and (= produktvorhanden false) (= wahl 1))
  111.   (
  112.     (message abbruch)
  113.     (exit (quiet))
  114.   )
  115. )
  116. (complete 40)
  117. ;-------------------------------------------------------------------
  118. ; Sichern der pers. Daten
  119. ;-------------------------------------------------------------------
  120. (if (and (= wahl 0) (= produktvorhanden true))
  121.   (
  122.     (run ("makedir >nil: RAM:GCBDAT"))
  123.     (set text
  124.       (cat "\n\nDa Sie schon eine Version von "produkt" installiert haben, "
  125.            "werden zuerst Ihre persönlichen Daten zwischengespeichert."
  126.       )
  127.     )
  128.     (message text)
  129.     (set text
  130.       (cat "Sichere persönliche Daten nach RAM:GCBDAT"
  131.       )
  132.     )
  133.     (If (= produkt (cat "GCBPlaner"))
  134.       (
  135.         (If (= (exists "GCBProdukte:GCBPlaner.key") true)
  136.           (
  137.             (copyfiles
  138.               (prompt text)
  139.               (source "GCBProdukte:GCBPlaner.key")
  140.               (dest "RAM:GCBDAT/")
  141.             )
  142.           )
  143.         )
  144.         (If (= (exists "GCBProdukte:GCBPlaner.Dat") true)
  145.           (
  146.             (copyfiles
  147.               (prompt text)
  148.               (source "GCBProdukte:GCBPlaner.Dat")
  149.               (dest "RAM:GCBDAT/")
  150.             )
  151.           )
  152.         )
  153.         (If (= (exists "GCBProdukte:GCBPlaner.Konfig") true)
  154.           (
  155.             (copyfiles
  156.             (prompt text)
  157.             (source "GCBProdukte:GCBPlaner.Konfig")
  158.             (dest "RAM:GCBDAT/")
  159.             )
  160.           )
  161.         )
  162.         (If (= (exists "GCBProdukte:GCBPlaner.History") true)
  163.           (
  164.             (copyfiles
  165.               (prompt text)
  166.               (source "GCBProdukte:GCBPlaner.History")
  167.               (dest "RAM:GCBDAT/")
  168.             )
  169.           )
  170.         )
  171.         (If (= (exists "SYS:WBStartup/GCBPlaner.info") true)
  172.           (
  173.             (copyfiles
  174.               (prompt text)
  175.               (source "SYS:WBStartup/GCBPlaner.info")
  176.               (dest "RAM:GCBDAT/")
  177.             )
  178.           )
  179.         )
  180.       )
  181.     )
  182.     (If (= produkt (cat "GCBVideo"))
  183.       (
  184.         (If (= (exists "GCBProdukte:GCBVideo.Key") true)
  185.           (
  186.             (copyfiles
  187.               (prompt text)
  188.               (source "GCBProdukte:GCBVideo.Key")
  189.               (dest "RAM:GCBDAT/")
  190.             )
  191.           )
  192.         )
  193.         (If (= (exists "GCBProdukte:GCBVideo.Konfig") true)
  194.           (
  195.             (copyfiles
  196.               (prompt text)
  197.               (source "GCBProdukte:GCBVideo.Konfig")
  198.               (dest "RAM:GCBDAT/")
  199.             )
  200.           )
  201.         )
  202.         (If (= (exists "GCBProdukte:GCBVideo.Archiv") true)
  203.           (
  204.             (copyfiles
  205.               (prompt text)
  206.               (source "GCBProdukte:GCBVideo.Archiv")
  207.               (dest "RAM:GCBDAT/")
  208.             )
  209.           )
  210.         )
  211.         (If (= (exists "GCBProdukte:GCBVideo.ArchivCam") TRUE)
  212.           (
  213.             (copyfiles
  214.               (prompt text)
  215.               (source "GCBProdukte:GCBVideo.ArchivCam")
  216.               (dest "RAM:GCBDAT/")
  217.             )
  218.           )
  219.         )
  220.         (If (= (exists "GCBProdukte:GCBVideo.Aufnahmen") true)
  221.           (
  222.             (copyfiles
  223.               (prompt text)
  224.               (source "GCBProdukte:GCBVideo.Aufnahmen")
  225.               (dest "RAM:GCBDAT/")
  226.             )
  227.           )
  228.         )
  229.         (If (= (exists "GCBProdukte:GCBVideo.Frei") true)
  230.           (
  231.             (copyfiles
  232.               (prompt text)
  233.               (source "GCBProdukte:GCBVideo.Frei")
  234.               (dest "RAM:GCBDAT/")
  235.             )
  236.           )
  237.         )
  238.         (If (= (exists "GCBProdukte:GCBVideo.FreiCam") TRUE)
  239.           (
  240.             (copyfiles
  241.               (prompt text)
  242.               (source "GCBProdukte:GCBVideo.FreiCam")
  243.               (dest "RAM:GCBDAT/")
  244.             )
  245.           )
  246.         )
  247.         (If (= (exists "GCBProdukte:GCBVideo.Kategorien") true)
  248.           (
  249.             (copyfiles
  250.               (prompt text)
  251.               (source "GCBProdukte:GCBVideo.Kategorien")
  252.               (dest "RAM:GCBDAT/")
  253.             )
  254.           )
  255.         )
  256.         (If (= (exists "GCBProdukte:GCBVideo.Genres") true)
  257.           (
  258.             (copyfiles
  259.               (prompt text)
  260.               (source "GCBProdukte:GCBVideo.Genres")
  261.               (dest "RAM:GCBDAT/")
  262.             )
  263.           )
  264.         )
  265.         (If (= (exists "GCBProdukte:GCBVideo.Programme") true)
  266.           (
  267.             (copyfiles
  268.               (prompt text)
  269.               (source "GCBProdukte:GCBVideo.Programme")
  270.               (dest "RAM:GCBDAT/")
  271.             )
  272.           )
  273.         )
  274.         (If (= (exists "GCBProdukte:GCBVideo.info") true)
  275.           (
  276.             (copyfiles
  277.               (prompt text)
  278.               (source "GCBProdukte:GCBVideo.info")
  279.               (dest "RAM:GCBDAT/")
  280.             )
  281.           )
  282.         )
  283.       )
  284.     )
  285.     (If (= produkt (cat "GCBAdresse"))
  286.       (
  287.         (If (= (exists "GCBProdukte:GCBAdresse.Key") true)
  288.           (
  289.             (copyfiles
  290.               (prompt text)
  291.               (source "GCBProdukte:GCBAdresse.Key")
  292.               (dest "RAM:GCBDAT/")
  293.             )
  294.           )
  295.         )
  296.         (If (= (exists "GCBProdukte:GCBAdresse.Orte") true)
  297.           (
  298.             (copyfiles
  299.               (prompt text)
  300.               (source "GCBProdukte:GCBAdresse.Orte")
  301.               (dest "RAM:GCBDAT/")
  302.             )
  303.           )
  304.         )
  305.         (If (= (exists "GCBProdukte:GCBAdresse.Bank") true)
  306.           (
  307.             (copyfiles
  308.               (prompt text)
  309.               (source "GCBProdukte:GCBAdresse.Bank")
  310.               (dest "RAM:GCBDAT/")
  311.             )
  312.           )
  313.         )
  314.         (If (= (exists "GCBProdukte:GCBAdresse.Konfig") true)
  315.           (
  316.             (copyfiles
  317.               (prompt text)
  318.               (source "GCBProdukte:GCBAdresse.Konfig")
  319.               (dest "RAM:GCBDAT/")
  320.             )
  321.           )
  322.         )
  323.         (If (= (exists "GCBProdukte:GCBAdresse.Adressen") true)
  324.           (
  325.             (copyfiles
  326.               (prompt text)
  327.               (source "GCBProdukte:GCBAdresse.Adressen")
  328.               (dest "RAM:GCBDAT/")
  329.             )
  330.           )
  331.         )
  332.         (If (= (exists "GCBProdukte:GCBAdresse.GrpSchalt") true)
  333.           (
  334.             (copyfiles
  335.               (prompt text)
  336.               (source "GCBProdukte:GCBAdresse.GrpSchalt")
  337.               (dest "RAM:GCBDAT/")
  338.             )
  339.           )
  340.         )
  341.         (If (= (exists "GCBProdukte:GCBAdresse.Gruppen") true)
  342.           (
  343.             (copyfiles
  344.               (prompt text)
  345.               (source "GCBProdukte:GCBAdresse.Gruppen")
  346.               (dest "RAM:GCBDAT/")
  347.             )
  348.           )
  349.         )
  350.         (If (= (exists "GCBProdukte:GCBAdresse.info") true)
  351.           (
  352.             (copyfiles
  353.               (prompt text)
  354.               (source "GCBProdukte:GCBAdresse.info")
  355.               (dest "RAM:GCBDAT/")
  356.             )
  357.           )
  358.         )
  359.       )
  360.     )
  361.     (If (= produkt (cat "GCBNotiz"))
  362.       (
  363.         (If (= (exists "GCBProdukte:GCBNotiz.Key") true)
  364.           (
  365.             (copyfiles
  366.               (prompt text)
  367.               (source "GCBProdukte:GCBNotiz.Key")
  368.               (dest "RAM:GCBDAT/")
  369.             )
  370.           )
  371.         )
  372.         (If (= (exists "GCBProdukte:GCBNotiz.Konfig") true)
  373.           (
  374.             (copyfiles
  375.               (prompt text)
  376.               (source "GCBProdukte:GCBNotiz.Konfig")
  377.               (dest "RAM:GCBDAT/")
  378.             )
  379.           )
  380.         )
  381.         (If (= (exists "GCBProdukte:GCBNotiz.Notizen") true)
  382.           (
  383.             (copyfiles
  384.               (prompt text)
  385.               (source "GCBProdukte:GCBNotiz.Notizen")
  386.               (dest "RAM:GCBDAT/")
  387.             )
  388.           )
  389.         )
  390.         (If (= (exists "GCBProdukte:GCBNotiz.info") true)
  391.           (
  392.             (copyfiles
  393.               (prompt text)
  394.               (source "GCBProdukte:GCBNotiz.info")
  395.               (dest "RAM:GCBDAT/")
  396.             )
  397.           )
  398.         )
  399.       )
  400.     )
  401.     (If (= produkt (cat "GCBDruck"))
  402.       (
  403.         (If (= (exists "GCBProdukte:GCBDruck.Key") true)
  404.           (
  405.             (copyfiles
  406.               (prompt text)
  407.               (source "GCBProdukte:GCBDruck.Key")
  408.               (dest "RAM:GCBDAT/")
  409.             )
  410.           )
  411.         )
  412.         (If (= (exists "GCBProdukte:GCBDruck.Konfig") true)
  413.           (
  414.             (copyfiles
  415.               (prompt text)
  416.               (source "GCBProdukte:GCBDruck.Konfig")
  417.               (dest "RAM:GCBDAT/")
  418.             )
  419.           )
  420.         )
  421.         (If (= (exists "GCBProdukte:GCBDruck.info") true)
  422.           (
  423.             (copyfiles
  424.               (prompt text)
  425.               (source "GCBProdukte:GCBDruck.info")
  426.               (dest "RAM:GCBDAT/")
  427.             )
  428.           )
  429.         )
  430.       )
  431.     )
  432.   )
  433. )
  434. (complete 50)
  435. ;-------------------------------------------------------------------
  436. ; Entferne bisherige Installation bei (wahl < 2)
  437. ;-------------------------------------------------------------------
  438. (if (and (< wahl 2) (= produktvorhanden true))
  439.   (
  440.     (set text
  441.       (cat "\n\nAuf Ihrer Festplatte wird nun "produkt" entfernt"
  442.       )
  443.     )
  444.     (message text)
  445.     (run
  446.       (cat "delete >nil: SYS:WBStartUp/"produkt"#? all"
  447.       )
  448.     )
  449.     (run
  450.       (cat "delete >nil: GCBProdukte:"produkt"#? all"
  451.       )
  452.     )
  453.     (set produktvorhanden false)
  454.   )
  455. )
  456. (complete 70)
  457. ;-------------------------------------------------------------------
  458. ; Entferne Assign & s:gcbprodukt.exists
  459. ;-------------------------------------------------------------------
  460. (set sonstgcbprodukt false)
  461. (if (and (< wahl 2) (= gcbvorhanden true))
  462.   (
  463.     (if (= (exists "SYS:WBStartup/GCBPlaner") true)
  464.       (
  465.         (set sonstgcbprodukt true)
  466.       )
  467.     )
  468.     (if (= (exists "GCBProdukte:GCBVideo") true)
  469.       (
  470.         (set sonstgcbprodukt true)
  471.       )
  472.     )
  473.     (if (= (exists "GCBProdukte:GCBAdresse") true)
  474.       (
  475.         (set sonstgcbprodukt true)
  476.       )
  477.     )
  478.     (if (= (exists "GCBProdukte:GCBNotiz") true)
  479.       (
  480.         (set sonstgcbprodukt true)
  481.       )
  482.     )
  483.     (if (= (exists "GCBProdukte:GCBDruck") true)
  484.       (
  485.         (set sonstgcbprodukt true)
  486.       )
  487.     )
  488.     (if (= sonstgcbprodukt false)
  489.       (
  490.         (run ("execute gcbwo"))
  491.         (set srcdir (getenv "GCBTemp"))
  492.         (delete "ENV:GCBTemp")
  493.         (set text
  494.           (cat "Da Sie keine weiteren GCB-Produkte installiert haben, "
  495.                "wird die Schublade "srcdir" auf Ihrer Festplatte gelöscht und "
  496.                "der Assign in der Datei USER-Startup entfernt."
  497.           )
  498.         )
  499.         (startup "GCB-Produkte"
  500.           (prompt text)
  501.           (help @startup-help)
  502.         )
  503.         (run "assign GCBProdukte: remove")
  504.         (run
  505.           (cat "delete >nil: \""srcdir"\" all"
  506.           )
  507.         )
  508.         (delete "S:GCBProdukt.exists")
  509.         (set gcbvorhanden false)
  510.       )
  511.     )
  512.   )
  513. )
  514. (if (= wahl 1)
  515.   (
  516.     (exit (quiet))
  517.   )
  518. )
  519. (complete 80)
  520. ;-------------------------------------------------------------------
  521. ; Installieren neue Version (wahl = 0)
  522. ;-------------------------------------------------------------------
  523. (if (= wahl 0)
  524.   (
  525.     (if (= (exists (cat "WBStartUp/"produkt)) true)
  526.       (
  527.         (set text
  528.           (cat "\n\nKopiere das Startprogramm von "produkt" in die Schublade "
  529.                "SYS:WBStartUp. Beim nächsten Rechnerstart wird das Startprogramm "
  530.                " aktiv."
  531.           )
  532.         )
  533.         (message text)
  534.         (copyfiles
  535.           (prompt "Installiere Startprogramm")
  536.           (source "WBStartUp/")
  537.           (pattern "#?")
  538.           (dest "SYS:WBStartUp")
  539.         )
  540.       )
  541.     )
  542.     (if (= gcbvorhanden false)
  543.       (
  544.         (set GCBWahl
  545.           (askdir
  546.             (prompt
  547.               (cat "Wohin soll "produkt" installiert werden ?\nEin Verzeichnis"
  548.                    " GCBProdukte wird erzeugt."
  549.               )
  550.             )
  551.             (help @askdir-help)
  552.             (default "SYS:")
  553.           )
  554.         )
  555.         (set GCBDir (tackon GCBWahl "GCBProdukte"))
  556.         (makedir GCBDir)
  557.         (run (cat "assign GCBProdukte: \""GCBDir"\""))
  558.         (set GCBORGXX GCBDir)
  559.         (set GCBDir "GCBProdukte:")
  560.       )
  561.     )
  562.     (if (= gcbvorhanden true)
  563.       (
  564.         (set GCBDir "GCBProdukte:")
  565.       )
  566.     )
  567.     (set text
  568.       (cat "\nKopiere die Oberfläche von "produkt" und die Dokumentation"
  569.            " in das Verzeichnis "GCBDir
  570.            "\n\n"
  571.            "\nDies ist eine nicht registrierte Public-Domain-Version. Mit dieser "
  572.            "Version sind nur 5 Einträge möglich."
  573.       )
  574.     )
  575.     (if (= (exists (cat "GCBProdukte/"produkt".key")) true)
  576.       (
  577.         (set text
  578.           (cat "\nKopiere die Oberfläche von "produkt" und die Dokumentation"
  579.                " in das Verzeichnis "GCBDir
  580.                "\n\n"
  581.                "\nDies ist eine registrierte Shareware-Verion. Nochmals "
  582.                "vielen Dank für die Unterstützung des Shareware-Konzepts"
  583.           )
  584.         )
  585.         (run
  586.           (cat "delete >nil: RAM:GCBDAT/"produkt".key")
  587.         )
  588.       )
  589.     )  
  590.     (if (= (exists (cat "RAM:GCBDAT/"produkt".key")) true)
  591.       (
  592.         (set text
  593.           (cat "\nKopiere die Oberfläche von "produkt" und die Dokumentation"
  594.                " in das Verzeichnis "GCBDir
  595.                "\n\n"
  596.                "\nDies ist eine registrierte Shareware-Verion. Nochmals "
  597.                "vielen Dank für die Unterstützung des Shareware-Konzepts"
  598.           )
  599.         )
  600.       )
  601.     )  
  602.     (message text)
  603.     (copyfiles
  604.       (prompt (cat "Installiere "produkt))
  605.       (source "GCBProdukte/")
  606.       (pattern "#?")
  607.       (dest GCBDir)
  608.     )
  609.     (if (= (exists "libs/CanDo.library") true)
  610.       (
  611.         (copylib
  612.           (prompt "Installiere CanDo.library")
  613.           (help @copylib-help)
  614.           (confirm)
  615.           (source "libs/CanDo.library")
  616.           (dest "Libs:")
  617.         )
  618.       )
  619.     )
  620.     (if (= (exists "libs/CanDoGfx.library") true)
  621.       (
  622.         (copylib
  623.           (prompt "Installiere CanDoGfx.library")
  624.           (help @copylib-help)
  625.           (confirm)
  626.           (source "libs/CanDoGfx.library")
  627.           (dest "Libs:")
  628.         )
  629.       )
  630.     )
  631.     (if (= (exists "libs/INOVAMusic.library") true)
  632.       (
  633.         (copylib
  634.           (prompt "Installiere INOVAMusic.library")
  635.           (help @copylib-help)
  636.           (confirm)
  637.           (source "libs/INOVAMusic.library")
  638.           (dest "Libs:")
  639.         )
  640.       )
  641.     )
  642.     (if (= (exists "libs/lowlevel.library") true)
  643.       (
  644.         (copylib
  645.           (prompt "Installiere lowlevel.library")
  646.           (help @copylib-help)
  647.           (confirm)
  648.           (source "libs/lowlevel.library")
  649.           (dest "Libs:")
  650.         )
  651.       )
  652.     )
  653.     (if (= (exists "Fonts/GCBPlaner.font") true)
  654.       (
  655.         (copyfiles
  656.           (prompt "Installiere Fonts")
  657.           (source "Fonts/")
  658.           (pattern "#?")
  659.           (dest "Fonts:")
  660.         )
  661.       )
  662.     )
  663.     (if (= (exists "s/GCBProdukt.exists") true)
  664.       (
  665.         (copyfiles
  666.           (prompt "Installiere GCB-Marker")
  667.           (source "S/")
  668.           (pattern "#?")
  669.           (dest "S:")
  670.         )
  671.       )
  672.     )
  673.     (if (= gcbvorhanden false)
  674.       (
  675.         (copyfiles
  676.           (prompt "Installiere Schubladen-Icon")
  677.           (source "GCBProdukte.info")
  678.           (dest GCBWahl)
  679.         )
  680.       )
  681.     )
  682.     (if (= gcbvorhanden false)
  683.       (
  684.         (set user_script
  685.           (cat "  Assign GCBProdukte: \"" GCBORGXX "\""
  686.           )
  687.         )
  688.         (working omp "Updating S:User-Startup.")
  689.         (startup "GCB-Produkte"
  690.           (prompt
  691.             "Diese Instruktionen müssen an die Datei \"S:User-Startup\" hinzugefügt"
  692.             "werden."
  693.             "Somit ist Ihr System für den Einsatz von "produkt" konfiguriert.\n\n"
  694.             user_script
  695.           )
  696.           (help @startup-help)
  697.           (command user_script)
  698.         )
  699.       )
  700.     )
  701.   )
  702. )
  703. (complete 90)
  704. ;-------------------------------------------------------------------
  705. ; Kopieren Zwischendateien aus RAM: (pattern produkt & wahl = 0)
  706. ;-------------------------------------------------------------------
  707. (if (and (= wahl 0) (= (exists "RAM:GCBDAT/GCBPlaner.info") 1))
  708.   (
  709.     (copyfiles
  710.       (prompt "Kopiere pers. Datenfiles in neue Installation")
  711.       (source "RAM:GCBDAT/GCBPlaner.info")
  712.       (dest "SYS:WBStartup/")
  713.     )
  714.     (run "delete >nil: ram:gcbdat/GCBPlaner.info")
  715.   )
  716. )
  717. (if (and (= wahl 0) (= (exists "RAM:GCBDAT/") 2))
  718.   (
  719.     (copyfiles
  720.       (prompt "Kopiere pers. Datenfiles in neue Installation")
  721.       (source "RAM:GCBDAT/")
  722.       (pattern (cat produkt"#?"))
  723.       (dest GCBDir)
  724.     )
  725.     (run "delete >nil: ram:gcbdat all")
  726.   )
  727. )
  728. (complete 100)
  729. ;-------------------------------------------------------------------
  730. ; Auskunft über System (wahl = 2)
  731. ;-------------------------------------------------------------------
  732. (if (= wahl 2)
  733.   (
  734.     (run "Version >ENV:GCBInfo")
  735.     (set systeminfo
  736.       (cat "Information über Ihr System:\n\n"
  737.         (getenv "GCBInfo")
  738.         "\n"produkt" "version
  739.       )
  740.     )
  741.     (delete "ENV:GCBInfo")
  742.     (message systeminfo)
  743.     (exit (quiet))
  744.   )
  745. )
  746. (complete 100)
  747. ;-------------------------------------------------------------------
  748. ; Endlich am Ende
  749. ;-------------------------------------------------------------------
  750. (set @default-dest GCBDir)
  751. (set text
  752.   (cat "Die Installation von "produkt" "version" ist nun abgeschlossen."
  753.        "\n\nBitte lesen Sie die Dokumentation, zu diesem Produkt, die Sie "
  754.        "in "GCBDir" finden können, bzw. mir der Help-Taste aus dem Programm heraus"
  755.        " aufrufen können.\n\nViel Spaß mit Ihrer neuen Software"
  756.   )
  757. )
  758. (exit text)
  759.